Pod::Spec.new do |s|

  s.name         = "HACDispatcher"
  s.version      = "0.0.1.0"
  s.summary      = "UIKit相关的调度器"
  s.description  = "UIKit相关的调度器，基于协议分发"
  s.homepage     = "https://gitee.com/jiejie1005/HACDispatcher"
  s.license      = { :type => "MIT", :file => "LICENSE" }
  s.author             = { "Chengjie" => "1875214064@qq.com" }
  s.platform     = :ios, "9.0"
  s.source       = { :git => "https://gitee.com/jiejie1005/HACDispatcher.git", :tag => "#{s.version}" }
  
  s.subspec 'HACTabViewDispatcher' do |td|
    td.source_files = 'HACDispatcher/HACDispatcher/HACTabViewDispatcher/*.{h,m}'
  end
  
  s.subspec 'HACAppDelegateDispatcher' do |ad|
    ad.source_files = 'HACDispatcher/HACDispatcher/HACAppDelegateDispatcher/*.{h,m}'
  end
  
  s.subspec 'HACCollectionViewDispatcher' do |cd|
    cd.source_files = 'HACDispatcher/HACDispatcher/HACCollectionViewDispatcher/*.{h,m}'
  end
  
  #  s.source_files  = "HACDispatcher/HACDispatcher/**/*.{h,m}"
  s.framework  = "UIKit"
  s.requires_arc = true
  s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => 'DEBUG_HAC_DISPATCHER=1' }

end
